import request from "@/utils/request";

//注册接口
export function register(data) {
  return request.post("/user/register", data);
}

//登录接口
export function login(data) {
  return request.post("/user/login", data);
}
